package com.example.bootcurriculumproject.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.bootcurriculumproject.util.NumUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart{
//    //当前线程数
//    private Long id;
    //购物车号码
    //@TableId
   // @TableField(fill = FieldFill.INSERT)
    private String cartnum;
    //用户名
    private String uid;
    //商品数量
    private int buynumber;
    //商品
    private String goodsno;
    //地址编号(一般情况下为空，结算购物车时添加地址编号)
    private int addressnum;
}
